<a href="{{ route('compare') }}" class="d-flex align-items-center text-reset">
{{--    <i class="la la-refresh la-2x opacity-80"></i>--}}
    <div style="position: relative;">
        <img src="{{ static_asset('assets/img/index/top1.png') }}" alt="">
        <div style="position: absolute;top: -5px;left: 20px;">
            @if(Session::has('compare'))
                <span class="badge badge-primary badge-inline badge-pill">{{ count(Session::get('compare'))}}</span>
            @else
                <span class="badge badge-primary badge-inline badge-pill">0</span>
            @endif
        </div>
    </div>
    <span class="flex-grow-1 ml-1">

        <span class="nav-box-text d-none d-xl-block opacity-70">{{translate('Compare')}}</span>
    </span>
</a>
